package com.leo.ktvplayer.network.http;

import java.util.HashMap;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

/**
 * Created by LeoLu on 2017/2/26.
 */
public interface HttpService {

    @POST("{url}")
    public Call<ResponseBody> callSomething(@Path("url") String path ,@QueryMap HashMap<String,String > map);


    //www.baidu.com/g/getUser/getNImab/good
    @POST("{url}")
    public Call<ResponseBody> post(@Path("url") String path , @QueryMap HashMap<String ,String> map);


};
    